namespace Model
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;

    [Table("Pledge")]
    public partial class Pledge
    {
        public int PledgeId { get; set; }

        public decimal? Pledgemoney { get; set; }

        public int? Pledgemonth { get; set; }

        [StringLength(11)]
        public string PledgePhone { get; set; }

        [StringLength(30)]
        public string PledgeWay { get; set; }

        public decimal? PledgeValue { get; set; }

        [StringLength(300)]
        public string PledgeUse { get; set; }

        [StringLength(300)]
        public string PledgeScribe { get; set; }

        [StringLength(30)]
        public string PledgeCode { get; set; }

        [StringLength(8)]
        public string PledgePerson { get; set; }

        public int? PledgeTypeId { get; set; }

        public virtual PledgeType PledgeType { get; set; }
    }
}
